2004年4月13日 — If you use CFileException e in your Open(...) call, why not to look at the error message? Code: [View]. CStdioFile file ; CFileException e ; ...
2010年3月24日 — You get the error message from cFile.Open, hence we can believe it's accurate. I'm not sure what would happen if another file of the same name ...
2015年4月21日 — Open can still initialize a CFileException object to describe the error, however. If you don't supply the pError parameter, or if you pass NULL ...